using System;
using System.Collections.Generic;
using Tarantino.Infrastructure.Commons.DataAccess.ORMapper;
using Tarantino.Samples.Core.Model;
using Tarantino.IntegrationTests;

namespace Tarantino.Samples.Infrastructure.IntegrationTests.DataAccess
{
	public class DatabaseTester : DatabaseTesterBase
	{
		public static string[] TablesToDelete
		{
			get { return new string[] { "SystemUser" }; }
		}

		protected override string ConnectionStringKey
		{
			get { return NHibernateObjectMapper.DefaultConnectionStringKey; }
		}

		protected override IEnumerable<string> GetTablesToDelete()
		{
			return TablesToDelete;
		}

		protected override Type GetEntityType()
		{
			return typeof(SystemUser);
		}
	}
}